package com.steam.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FromtaianBakExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FromtaianBakExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBhIsNull() {
            addCriterion("bh is null");
            return (Criteria) this;
        }

        public Criteria andBhIsNotNull() {
            addCriterion("bh is not null");
            return (Criteria) this;
        }

        public Criteria andBhEqualTo(Integer value) {
            addCriterion("bh =", value, "bh");
            return (Criteria) this;
        }

        public Criteria andBhNotEqualTo(Integer value) {
            addCriterion("bh <>", value, "bh");
            return (Criteria) this;
        }

        public Criteria andBhGreaterThan(Integer value) {
            addCriterion("bh >", value, "bh");
            return (Criteria) this;
        }

        public Criteria andBhGreaterThanOrEqualTo(Integer value) {
            addCriterion("bh >=", value, "bh");
            return (Criteria) this;
        }

        public Criteria andBhLessThan(Integer value) {
            addCriterion("bh <", value, "bh");
            return (Criteria) this;
        }

        public Criteria andBhLessThanOrEqualTo(Integer value) {
            addCriterion("bh <=", value, "bh");
            return (Criteria) this;
        }

        public Criteria andBhIn(List<Integer> values) {
            addCriterion("bh in", values, "bh");
            return (Criteria) this;
        }

        public Criteria andBhNotIn(List<Integer> values) {
            addCriterion("bh not in", values, "bh");
            return (Criteria) this;
        }

        public Criteria andBhBetween(Integer value1, Integer value2) {
            addCriterion("bh between", value1, value2, "bh");
            return (Criteria) this;
        }

        public Criteria andBhNotBetween(Integer value1, Integer value2) {
            addCriterion("bh not between", value1, value2, "bh");
            return (Criteria) this;
        }

        public Criteria andShengIsNull() {
            addCriterion("sheng is null");
            return (Criteria) this;
        }

        public Criteria andShengIsNotNull() {
            addCriterion("sheng is not null");
            return (Criteria) this;
        }

        public Criteria andShengEqualTo(String value) {
            addCriterion("sheng =", value, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengNotEqualTo(String value) {
            addCriterion("sheng <>", value, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengGreaterThan(String value) {
            addCriterion("sheng >", value, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengGreaterThanOrEqualTo(String value) {
            addCriterion("sheng >=", value, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengLessThan(String value) {
            addCriterion("sheng <", value, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengLessThanOrEqualTo(String value) {
            addCriterion("sheng <=", value, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengLike(String value) {
            addCriterion("sheng like", value, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengNotLike(String value) {
            addCriterion("sheng not like", value, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengIn(List<String> values) {
            addCriterion("sheng in", values, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengNotIn(List<String> values) {
            addCriterion("sheng not in", values, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengBetween(String value1, String value2) {
            addCriterion("sheng between", value1, value2, "sheng");
            return (Criteria) this;
        }

        public Criteria andShengNotBetween(String value1, String value2) {
            addCriterion("sheng not between", value1, value2, "sheng");
            return (Criteria) this;
        }

        public Criteria andShiIsNull() {
            addCriterion("shi is null");
            return (Criteria) this;
        }

        public Criteria andShiIsNotNull() {
            addCriterion("shi is not null");
            return (Criteria) this;
        }

        public Criteria andShiEqualTo(String value) {
            addCriterion("shi =", value, "shi");
            return (Criteria) this;
        }

        public Criteria andShiNotEqualTo(String value) {
            addCriterion("shi <>", value, "shi");
            return (Criteria) this;
        }

        public Criteria andShiGreaterThan(String value) {
            addCriterion("shi >", value, "shi");
            return (Criteria) this;
        }

        public Criteria andShiGreaterThanOrEqualTo(String value) {
            addCriterion("shi >=", value, "shi");
            return (Criteria) this;
        }

        public Criteria andShiLessThan(String value) {
            addCriterion("shi <", value, "shi");
            return (Criteria) this;
        }

        public Criteria andShiLessThanOrEqualTo(String value) {
            addCriterion("shi <=", value, "shi");
            return (Criteria) this;
        }

        public Criteria andShiLike(String value) {
            addCriterion("shi like", value, "shi");
            return (Criteria) this;
        }

        public Criteria andShiNotLike(String value) {
            addCriterion("shi not like", value, "shi");
            return (Criteria) this;
        }

        public Criteria andShiIn(List<String> values) {
            addCriterion("shi in", values, "shi");
            return (Criteria) this;
        }

        public Criteria andShiNotIn(List<String> values) {
            addCriterion("shi not in", values, "shi");
            return (Criteria) this;
        }

        public Criteria andShiBetween(String value1, String value2) {
            addCriterion("shi between", value1, value2, "shi");
            return (Criteria) this;
        }

        public Criteria andShiNotBetween(String value1, String value2) {
            addCriterion("shi not between", value1, value2, "shi");
            return (Criteria) this;
        }

        public Criteria andXianIsNull() {
            addCriterion("xian is null");
            return (Criteria) this;
        }

        public Criteria andXianIsNotNull() {
            addCriterion("xian is not null");
            return (Criteria) this;
        }

        public Criteria andXianEqualTo(String value) {
            addCriterion("xian =", value, "xian");
            return (Criteria) this;
        }

        public Criteria andXianNotEqualTo(String value) {
            addCriterion("xian <>", value, "xian");
            return (Criteria) this;
        }

        public Criteria andXianGreaterThan(String value) {
            addCriterion("xian >", value, "xian");
            return (Criteria) this;
        }

        public Criteria andXianGreaterThanOrEqualTo(String value) {
            addCriterion("xian >=", value, "xian");
            return (Criteria) this;
        }

        public Criteria andXianLessThan(String value) {
            addCriterion("xian <", value, "xian");
            return (Criteria) this;
        }

        public Criteria andXianLessThanOrEqualTo(String value) {
            addCriterion("xian <=", value, "xian");
            return (Criteria) this;
        }

        public Criteria andXianLike(String value) {
            addCriterion("xian like", value, "xian");
            return (Criteria) this;
        }

        public Criteria andXianNotLike(String value) {
            addCriterion("xian not like", value, "xian");
            return (Criteria) this;
        }

        public Criteria andXianIn(List<String> values) {
            addCriterion("xian in", values, "xian");
            return (Criteria) this;
        }

        public Criteria andXianNotIn(List<String> values) {
            addCriterion("xian not in", values, "xian");
            return (Criteria) this;
        }

        public Criteria andXianBetween(String value1, String value2) {
            addCriterion("xian between", value1, value2, "xian");
            return (Criteria) this;
        }

        public Criteria andXianNotBetween(String value1, String value2) {
            addCriterion("xian not between", value1, value2, "xian");
            return (Criteria) this;
        }

        public Criteria andQhIsNull() {
            addCriterion("qh is null");
            return (Criteria) this;
        }

        public Criteria andQhIsNotNull() {
            addCriterion("qh is not null");
            return (Criteria) this;
        }

        public Criteria andQhEqualTo(String value) {
            addCriterion("qh =", value, "qh");
            return (Criteria) this;
        }

        public Criteria andQhNotEqualTo(String value) {
            addCriterion("qh <>", value, "qh");
            return (Criteria) this;
        }

        public Criteria andQhGreaterThan(String value) {
            addCriterion("qh >", value, "qh");
            return (Criteria) this;
        }

        public Criteria andQhGreaterThanOrEqualTo(String value) {
            addCriterion("qh >=", value, "qh");
            return (Criteria) this;
        }

        public Criteria andQhLessThan(String value) {
            addCriterion("qh <", value, "qh");
            return (Criteria) this;
        }

        public Criteria andQhLessThanOrEqualTo(String value) {
            addCriterion("qh <=", value, "qh");
            return (Criteria) this;
        }

        public Criteria andQhLike(String value) {
            addCriterion("qh like", value, "qh");
            return (Criteria) this;
        }

        public Criteria andQhNotLike(String value) {
            addCriterion("qh not like", value, "qh");
            return (Criteria) this;
        }

        public Criteria andQhIn(List<String> values) {
            addCriterion("qh in", values, "qh");
            return (Criteria) this;
        }

        public Criteria andQhNotIn(List<String> values) {
            addCriterion("qh not in", values, "qh");
            return (Criteria) this;
        }

        public Criteria andQhBetween(String value1, String value2) {
            addCriterion("qh between", value1, value2, "qh");
            return (Criteria) this;
        }

        public Criteria andQhNotBetween(String value1, String value2) {
            addCriterion("qh not between", value1, value2, "qh");
            return (Criteria) this;
        }

        public Criteria andLxIsNull() {
            addCriterion("lx is null");
            return (Criteria) this;
        }

        public Criteria andLxIsNotNull() {
            addCriterion("lx is not null");
            return (Criteria) this;
        }

        public Criteria andLxEqualTo(String value) {
            addCriterion("lx =", value, "lx");
            return (Criteria) this;
        }

        public Criteria andLxNotEqualTo(String value) {
            addCriterion("lx <>", value, "lx");
            return (Criteria) this;
        }

        public Criteria andLxGreaterThan(String value) {
            addCriterion("lx >", value, "lx");
            return (Criteria) this;
        }

        public Criteria andLxGreaterThanOrEqualTo(String value) {
            addCriterion("lx >=", value, "lx");
            return (Criteria) this;
        }

        public Criteria andLxLessThan(String value) {
            addCriterion("lx <", value, "lx");
            return (Criteria) this;
        }

        public Criteria andLxLessThanOrEqualTo(String value) {
            addCriterion("lx <=", value, "lx");
            return (Criteria) this;
        }

        public Criteria andLxLike(String value) {
            addCriterion("lx like", value, "lx");
            return (Criteria) this;
        }

        public Criteria andLxNotLike(String value) {
            addCriterion("lx not like", value, "lx");
            return (Criteria) this;
        }

        public Criteria andLxIn(List<String> values) {
            addCriterion("lx in", values, "lx");
            return (Criteria) this;
        }

        public Criteria andLxNotIn(List<String> values) {
            addCriterion("lx not in", values, "lx");
            return (Criteria) this;
        }

        public Criteria andLxBetween(String value1, String value2) {
            addCriterion("lx between", value1, value2, "lx");
            return (Criteria) this;
        }

        public Criteria andLxNotBetween(String value1, String value2) {
            addCriterion("lx not between", value1, value2, "lx");
            return (Criteria) this;
        }

        public Criteria andNrIsNull() {
            addCriterion("nr is null");
            return (Criteria) this;
        }

        public Criteria andNrIsNotNull() {
            addCriterion("nr is not null");
            return (Criteria) this;
        }

        public Criteria andNrEqualTo(String value) {
            addCriterion("nr =", value, "nr");
            return (Criteria) this;
        }

        public Criteria andNrNotEqualTo(String value) {
            addCriterion("nr <>", value, "nr");
            return (Criteria) this;
        }

        public Criteria andNrGreaterThan(String value) {
            addCriterion("nr >", value, "nr");
            return (Criteria) this;
        }

        public Criteria andNrGreaterThanOrEqualTo(String value) {
            addCriterion("nr >=", value, "nr");
            return (Criteria) this;
        }

        public Criteria andNrLessThan(String value) {
            addCriterion("nr <", value, "nr");
            return (Criteria) this;
        }

        public Criteria andNrLessThanOrEqualTo(String value) {
            addCriterion("nr <=", value, "nr");
            return (Criteria) this;
        }

        public Criteria andNrLike(String value) {
            addCriterion("nr like", value, "nr");
            return (Criteria) this;
        }

        public Criteria andNrNotLike(String value) {
            addCriterion("nr not like", value, "nr");
            return (Criteria) this;
        }

        public Criteria andNrIn(List<String> values) {
            addCriterion("nr in", values, "nr");
            return (Criteria) this;
        }

        public Criteria andNrNotIn(List<String> values) {
            addCriterion("nr not in", values, "nr");
            return (Criteria) this;
        }

        public Criteria andNrBetween(String value1, String value2) {
            addCriterion("nr between", value1, value2, "nr");
            return (Criteria) this;
        }

        public Criteria andNrNotBetween(String value1, String value2) {
            addCriterion("nr not between", value1, value2, "nr");
            return (Criteria) this;
        }

        public Criteria andDhIsNull() {
            addCriterion("dh is null");
            return (Criteria) this;
        }

        public Criteria andDhIsNotNull() {
            addCriterion("dh is not null");
            return (Criteria) this;
        }

        public Criteria andDhEqualTo(String value) {
            addCriterion("dh =", value, "dh");
            return (Criteria) this;
        }

        public Criteria andDhNotEqualTo(String value) {
            addCriterion("dh <>", value, "dh");
            return (Criteria) this;
        }

        public Criteria andDhGreaterThan(String value) {
            addCriterion("dh >", value, "dh");
            return (Criteria) this;
        }

        public Criteria andDhGreaterThanOrEqualTo(String value) {
            addCriterion("dh >=", value, "dh");
            return (Criteria) this;
        }

        public Criteria andDhLessThan(String value) {
            addCriterion("dh <", value, "dh");
            return (Criteria) this;
        }

        public Criteria andDhLessThanOrEqualTo(String value) {
            addCriterion("dh <=", value, "dh");
            return (Criteria) this;
        }

        public Criteria andDhLike(String value) {
            addCriterion("dh like", value, "dh");
            return (Criteria) this;
        }

        public Criteria andDhNotLike(String value) {
            addCriterion("dh not like", value, "dh");
            return (Criteria) this;
        }

        public Criteria andDhIn(List<String> values) {
            addCriterion("dh in", values, "dh");
            return (Criteria) this;
        }

        public Criteria andDhNotIn(List<String> values) {
            addCriterion("dh not in", values, "dh");
            return (Criteria) this;
        }

        public Criteria andDhBetween(String value1, String value2) {
            addCriterion("dh between", value1, value2, "dh");
            return (Criteria) this;
        }

        public Criteria andDhNotBetween(String value1, String value2) {
            addCriterion("dh not between", value1, value2, "dh");
            return (Criteria) this;
        }

        public Criteria andFbrIsNull() {
            addCriterion("fbr is null");
            return (Criteria) this;
        }

        public Criteria andFbrIsNotNull() {
            addCriterion("fbr is not null");
            return (Criteria) this;
        }

        public Criteria andFbrEqualTo(String value) {
            addCriterion("fbr =", value, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrNotEqualTo(String value) {
            addCriterion("fbr <>", value, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrGreaterThan(String value) {
            addCriterion("fbr >", value, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrGreaterThanOrEqualTo(String value) {
            addCriterion("fbr >=", value, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrLessThan(String value) {
            addCriterion("fbr <", value, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrLessThanOrEqualTo(String value) {
            addCriterion("fbr <=", value, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrLike(String value) {
            addCriterion("fbr like", value, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrNotLike(String value) {
            addCriterion("fbr not like", value, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrIn(List<String> values) {
            addCriterion("fbr in", values, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrNotIn(List<String> values) {
            addCriterion("fbr not in", values, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrBetween(String value1, String value2) {
            addCriterion("fbr between", value1, value2, "fbr");
            return (Criteria) this;
        }

        public Criteria andFbrNotBetween(String value1, String value2) {
            addCriterion("fbr not between", value1, value2, "fbr");
            return (Criteria) this;
        }

        public Criteria andSjIsNull() {
            addCriterion("sj is null");
            return (Criteria) this;
        }

        public Criteria andSjIsNotNull() {
            addCriterion("sj is not null");
            return (Criteria) this;
        }

        public Criteria andSjEqualTo(Date value) {
            addCriterion("sj =", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjNotEqualTo(Date value) {
            addCriterion("sj <>", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjGreaterThan(Date value) {
            addCriterion("sj >", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjGreaterThanOrEqualTo(Date value) {
            addCriterion("sj >=", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjLessThan(Date value) {
            addCriterion("sj <", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjLessThanOrEqualTo(Date value) {
            addCriterion("sj <=", value, "sj");
            return (Criteria) this;
        }

        public Criteria andSjIn(List<Date> values) {
            addCriterion("sj in", values, "sj");
            return (Criteria) this;
        }

        public Criteria andSjNotIn(List<Date> values) {
            addCriterion("sj not in", values, "sj");
            return (Criteria) this;
        }

        public Criteria andSjBetween(Date value1, Date value2) {
            addCriterion("sj between", value1, value2, "sj");
            return (Criteria) this;
        }

        public Criteria andSjNotBetween(Date value1, Date value2) {
            addCriterion("sj not between", value1, value2, "sj");
            return (Criteria) this;
        }

        public Criteria andDh1IsNull() {
            addCriterion("dh1 is null");
            return (Criteria) this;
        }

        public Criteria andDh1IsNotNull() {
            addCriterion("dh1 is not null");
            return (Criteria) this;
        }

        public Criteria andDh1EqualTo(String value) {
            addCriterion("dh1 =", value, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1NotEqualTo(String value) {
            addCriterion("dh1 <>", value, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1GreaterThan(String value) {
            addCriterion("dh1 >", value, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1GreaterThanOrEqualTo(String value) {
            addCriterion("dh1 >=", value, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1LessThan(String value) {
            addCriterion("dh1 <", value, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1LessThanOrEqualTo(String value) {
            addCriterion("dh1 <=", value, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1Like(String value) {
            addCriterion("dh1 like", value, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1NotLike(String value) {
            addCriterion("dh1 not like", value, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1In(List<String> values) {
            addCriterion("dh1 in", values, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1NotIn(List<String> values) {
            addCriterion("dh1 not in", values, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1Between(String value1, String value2) {
            addCriterion("dh1 between", value1, value2, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh1NotBetween(String value1, String value2) {
            addCriterion("dh1 not between", value1, value2, "dh1");
            return (Criteria) this;
        }

        public Criteria andDh2IsNull() {
            addCriterion("dh2 is null");
            return (Criteria) this;
        }

        public Criteria andDh2IsNotNull() {
            addCriterion("dh2 is not null");
            return (Criteria) this;
        }

        public Criteria andDh2EqualTo(String value) {
            addCriterion("dh2 =", value, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2NotEqualTo(String value) {
            addCriterion("dh2 <>", value, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2GreaterThan(String value) {
            addCriterion("dh2 >", value, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2GreaterThanOrEqualTo(String value) {
            addCriterion("dh2 >=", value, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2LessThan(String value) {
            addCriterion("dh2 <", value, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2LessThanOrEqualTo(String value) {
            addCriterion("dh2 <=", value, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2Like(String value) {
            addCriterion("dh2 like", value, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2NotLike(String value) {
            addCriterion("dh2 not like", value, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2In(List<String> values) {
            addCriterion("dh2 in", values, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2NotIn(List<String> values) {
            addCriterion("dh2 not in", values, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2Between(String value1, String value2) {
            addCriterion("dh2 between", value1, value2, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh2NotBetween(String value1, String value2) {
            addCriterion("dh2 not between", value1, value2, "dh2");
            return (Criteria) this;
        }

        public Criteria andDh3IsNull() {
            addCriterion("dh3 is null");
            return (Criteria) this;
        }

        public Criteria andDh3IsNotNull() {
            addCriterion("dh3 is not null");
            return (Criteria) this;
        }

        public Criteria andDh3EqualTo(String value) {
            addCriterion("dh3 =", value, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3NotEqualTo(String value) {
            addCriterion("dh3 <>", value, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3GreaterThan(String value) {
            addCriterion("dh3 >", value, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3GreaterThanOrEqualTo(String value) {
            addCriterion("dh3 >=", value, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3LessThan(String value) {
            addCriterion("dh3 <", value, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3LessThanOrEqualTo(String value) {
            addCriterion("dh3 <=", value, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3Like(String value) {
            addCriterion("dh3 like", value, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3NotLike(String value) {
            addCriterion("dh3 not like", value, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3In(List<String> values) {
            addCriterion("dh3 in", values, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3NotIn(List<String> values) {
            addCriterion("dh3 not in", values, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3Between(String value1, String value2) {
            addCriterion("dh3 between", value1, value2, "dh3");
            return (Criteria) this;
        }

        public Criteria andDh3NotBetween(String value1, String value2) {
            addCriterion("dh3 not between", value1, value2, "dh3");
            return (Criteria) this;
        }

        public Criteria andWhIsNull() {
            addCriterion("wh is null");
            return (Criteria) this;
        }

        public Criteria andWhIsNotNull() {
            addCriterion("wh is not null");
            return (Criteria) this;
        }

        public Criteria andWhEqualTo(String value) {
            addCriterion("wh =", value, "wh");
            return (Criteria) this;
        }

        public Criteria andWhNotEqualTo(String value) {
            addCriterion("wh <>", value, "wh");
            return (Criteria) this;
        }

        public Criteria andWhGreaterThan(String value) {
            addCriterion("wh >", value, "wh");
            return (Criteria) this;
        }

        public Criteria andWhGreaterThanOrEqualTo(String value) {
            addCriterion("wh >=", value, "wh");
            return (Criteria) this;
        }

        public Criteria andWhLessThan(String value) {
            addCriterion("wh <", value, "wh");
            return (Criteria) this;
        }

        public Criteria andWhLessThanOrEqualTo(String value) {
            addCriterion("wh <=", value, "wh");
            return (Criteria) this;
        }

        public Criteria andWhLike(String value) {
            addCriterion("wh like", value, "wh");
            return (Criteria) this;
        }

        public Criteria andWhNotLike(String value) {
            addCriterion("wh not like", value, "wh");
            return (Criteria) this;
        }

        public Criteria andWhIn(List<String> values) {
            addCriterion("wh in", values, "wh");
            return (Criteria) this;
        }

        public Criteria andWhNotIn(List<String> values) {
            addCriterion("wh not in", values, "wh");
            return (Criteria) this;
        }

        public Criteria andWhBetween(String value1, String value2) {
            addCriterion("wh between", value1, value2, "wh");
            return (Criteria) this;
        }

        public Criteria andWhNotBetween(String value1, String value2) {
            addCriterion("wh not between", value1, value2, "wh");
            return (Criteria) this;
        }

        public Criteria andMsgidIsNull() {
            addCriterion("msgid is null");
            return (Criteria) this;
        }

        public Criteria andMsgidIsNotNull() {
            addCriterion("msgid is not null");
            return (Criteria) this;
        }

        public Criteria andMsgidEqualTo(String value) {
            addCriterion("msgid =", value, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidNotEqualTo(String value) {
            addCriterion("msgid <>", value, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidGreaterThan(String value) {
            addCriterion("msgid >", value, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidGreaterThanOrEqualTo(String value) {
            addCriterion("msgid >=", value, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidLessThan(String value) {
            addCriterion("msgid <", value, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidLessThanOrEqualTo(String value) {
            addCriterion("msgid <=", value, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidLike(String value) {
            addCriterion("msgid like", value, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidNotLike(String value) {
            addCriterion("msgid not like", value, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidIn(List<String> values) {
            addCriterion("msgid in", values, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidNotIn(List<String> values) {
            addCriterion("msgid not in", values, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidBetween(String value1, String value2) {
            addCriterion("msgid between", value1, value2, "msgid");
            return (Criteria) this;
        }

        public Criteria andMsgidNotBetween(String value1, String value2) {
            addCriterion("msgid not between", value1, value2, "msgid");
            return (Criteria) this;
        }

        public Criteria andPathIsNull() {
            addCriterion("path is null");
            return (Criteria) this;
        }

        public Criteria andPathIsNotNull() {
            addCriterion("path is not null");
            return (Criteria) this;
        }

        public Criteria andPathEqualTo(String value) {
            addCriterion("path =", value, "path");
            return (Criteria) this;
        }

        public Criteria andPathNotEqualTo(String value) {
            addCriterion("path <>", value, "path");
            return (Criteria) this;
        }

        public Criteria andPathGreaterThan(String value) {
            addCriterion("path >", value, "path");
            return (Criteria) this;
        }

        public Criteria andPathGreaterThanOrEqualTo(String value) {
            addCriterion("path >=", value, "path");
            return (Criteria) this;
        }

        public Criteria andPathLessThan(String value) {
            addCriterion("path <", value, "path");
            return (Criteria) this;
        }

        public Criteria andPathLessThanOrEqualTo(String value) {
            addCriterion("path <=", value, "path");
            return (Criteria) this;
        }

        public Criteria andPathLike(String value) {
            addCriterion("path like", value, "path");
            return (Criteria) this;
        }

        public Criteria andPathNotLike(String value) {
            addCriterion("path not like", value, "path");
            return (Criteria) this;
        }

        public Criteria andPathIn(List<String> values) {
            addCriterion("path in", values, "path");
            return (Criteria) this;
        }

        public Criteria andPathNotIn(List<String> values) {
            addCriterion("path not in", values, "path");
            return (Criteria) this;
        }

        public Criteria andPathBetween(String value1, String value2) {
            addCriterion("path between", value1, value2, "path");
            return (Criteria) this;
        }

        public Criteria andPathNotBetween(String value1, String value2) {
            addCriterion("path not between", value1, value2, "path");
            return (Criteria) this;
        }

        public Criteria andLmtIsNull() {
            addCriterion("lmt is null");
            return (Criteria) this;
        }

        public Criteria andLmtIsNotNull() {
            addCriterion("lmt is not null");
            return (Criteria) this;
        }

        public Criteria andLmtEqualTo(String value) {
            addCriterion("lmt =", value, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtNotEqualTo(String value) {
            addCriterion("lmt <>", value, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtGreaterThan(String value) {
            addCriterion("lmt >", value, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtGreaterThanOrEqualTo(String value) {
            addCriterion("lmt >=", value, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtLessThan(String value) {
            addCriterion("lmt <", value, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtLessThanOrEqualTo(String value) {
            addCriterion("lmt <=", value, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtLike(String value) {
            addCriterion("lmt like", value, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtNotLike(String value) {
            addCriterion("lmt not like", value, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtIn(List<String> values) {
            addCriterion("lmt in", values, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtNotIn(List<String> values) {
            addCriterion("lmt not in", values, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtBetween(String value1, String value2) {
            addCriterion("lmt between", value1, value2, "lmt");
            return (Criteria) this;
        }

        public Criteria andLmtNotBetween(String value1, String value2) {
            addCriterion("lmt not between", value1, value2, "lmt");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(String value) {
            addCriterion("deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(String value) {
            addCriterion("deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(String value) {
            addCriterion("deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(String value) {
            addCriterion("deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(String value) {
            addCriterion("deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(String value) {
            addCriterion("deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLike(String value) {
            addCriterion("deleted like", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotLike(String value) {
            addCriterion("deleted not like", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<String> values) {
            addCriterion("deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<String> values) {
            addCriterion("deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(String value1, String value2) {
            addCriterion("deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(String value1, String value2) {
            addCriterion("deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}